import Vue from 'vue'
import Router from 'vue-router'
import Home from '../components/Home.vue'
import ShoppingCart from '../components/ShoppingCart.vue'
import My from '../components/My.vue'
import Stylist from '../components/Stylist .vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '*',
      component: Home
    },
    {
      path: '/home',
      component: Home
    },
    {
      path: '/stylist',
      component: Stylist
    },
    {
      path: '/shoppingcart',
      component: ShoppingCart
    },
    {
      path: '/my',
      component: My
    }
  ]
})
